package com.elric.mall.mapper;

import com.elric.mall.model.UmsFileInfo;
import com.elric.mall.model.UmsFileInfoExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UmsFileInfoMapper {
    long countByExample(UmsFileInfoExample example);

    int deleteByExample(UmsFileInfoExample example);

    int deleteByPrimaryKey(String id);

    int insert(UmsFileInfo record);

    int insertSelective(UmsFileInfo record);

    List<UmsFileInfo> selectByExample(UmsFileInfoExample example);

    List<UmsFileInfo> selectByEntityId(String id);

    UmsFileInfo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") UmsFileInfo record, @Param("example") UmsFileInfoExample example);

    int updateByExample(@Param("record") UmsFileInfo record, @Param("example") UmsFileInfoExample example);

    int updateByPrimaryKeySelective(UmsFileInfo record);

    int updateByPrimaryKey(UmsFileInfo record);
}